package com.cykj.user.service.impl;

/**
 * @BelongsProject: Cykj-Order-System
 * @BelongsPackage: com.cykj.user.service.impl
 * @Author: cwx
 * @CreateTime: 2025/9/1 10:29
 * @Description:
 * @Version: 1.0
 */

import com.cykj.user.dto.ShopRecommendDTO;
import com.cykj.user.mapper.ShopRecommendMapper;
import com.cykj.user.service.ShopRecommendService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class ShopRecommendServiceImpl implements ShopRecommendService {

    @Autowired
    private ShopRecommendMapper shopRecommendMapper;

    @Override
    public List<ShopRecommendDTO> getRecommendShopsWithProducts(List<Long> shopIds) {
        return shopRecommendMapper.selectRecommendShopsWithProducts(shopIds);
    }
}
